package org.pqw.bookmodel.consumer;

import lombok.extern.slf4j.Slf4j;
import org.apache.rocketmq.common.message.MessageExt;
import org.pqw.bookmodel.config.AbstractMqConsumer;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 白衣雪
 * @since 2021/6/26 15:05
 */
@Slf4j
@Component("baseConsumer")
public class BaseConsumer extends AbstractMqConsumer {

    @Override
    public void msgHandle(List<MessageExt> msgs) {
        log.info("msgs;{}", msgs);
    }
}
